Previous Thread
Next Thread
Print Thread
Rate Thread
#239552 03/11/2003 2:22 PM
Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
Just shooting ideas around, is there a way to limit the number of posts for a new user lets say 100, at that point they would have to purchase a membership? Not sure how you could keep people from just creating another username though? Ideas?

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
That would be fairly easy to do I think.....

Sort of add a check in whatever scripts that you don't want them to have access to, if their post count is > 100 and they aren't a member of the "subscribed" group.... then block them.

JustDave's double identities mod uses a cookie to check for multiple usernames using the same computer... that would help you catch duplicates.

They could sneak by you if they delete their cookies though. So it's not perfect.

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
[]They could sneak by you if they delete their cookies though.[/]
My users would do that for sure.

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
You could add IP to the check as well, you would at least get those who are at the same IP.

I've written a mod that automatically upgrades users to new groups at different post intervals, which could probably be used for this as well. Possibly, they would have to be removed from the old group, which my mod doesn't do, although it did in an earlier unreleased version, so it should be quite easy to hack.

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
Hmm, I wonder if it could be as easy as after 100 posts they get moved into a group that simply has no access.

Sponsored Links
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Not quite, since they would still be in the normal user group which has access, so they would have to be removed from that as well.

You can find the Auto Group Change 1.1 beta mod here.

Just install that hack, and after that, find these lines in addpost.php:

Code
<br />	if ( ($Totalposts == $posts) && !strstr($CurrGroups, $thegroup) ) {<br />	  $NewGroups .= "$thegroup-";<br />	  break;<br />	}<br />

And change them into this:
Code
<br />	if ( ($Totalposts == $posts) && !strstr($CurrGroups, $thegroup) ) {<br />	  $NewGroups = str_replace("-3-", "-$thegroup-", $NewGroups);<br />	  break;<br />	}<br />


This should change users from the normal users group (with id 3) to the group you have set. It will only work with one level though, if you want them to be able to upgrade after that you will have to change it some more.
Haven't tried the code so it might not work, make backups of everything and some more after that before you try this. =]

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
what about adding in some sort of unlock code they would have to enter after reaching 100 posts?


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,153
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 520
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 24
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)